@charset 'UTF-8';
@import './common.scss';
@import '../fonts/iconfont.css';

body{
	scroll-behavior: smooth;
}
.web{
	scroll-behavior: smooth;
	main{
		perspective: 3px;
		
		
		.bg{
			background-size: cover;
			
			width: 100%;
			height: 100%;
			z-index: -2;
			background-attachment: fixed;
			// background-image: url("../images/2.jpg");
			position: absolute;
		}	
		.top{
			width: 77vw;
			height: 38vw;
			margin: 0 auto;
			background-image: url(../images/usertop.png);
			background-repeat: no-repeat;
			background-size: cover;
			h2{
				font-size: 3vw;
				font-weight: normal;
				font-stretch: normal;
				line-height: 3vw;
				letter-spacing: 0vw;
				color: white;
				text-align: center;
				padding-top: 18vw;
			}
		}
		.center{
			width: 77vw;
			margin: 0 auto;
			display: flex;
			justify-content: space-between;
			flex-wrap: wrap;
			padding-top: 3vw;
			.imgBox{
				width: 24vw;
				height: 24vw;
				overflow: hidden;
				transition: all .3s;
				img{
					width: 100%;
				}
				padding-bottom: 3vw;
			}
			.imgBox:hover{
				cursor: pointer;
				transform: scale(1.1);
			}
			#load{
				display: block;
				margin: 0 auto;
				width: 16vw;
				font-size: 1vw;
				font-weight: normal;
				font-stretch: normal;
				letter-spacing: 0vw;
				color: #000000;
				text-align: center;
				border: 1px solid #202020;
				padding: 0.7vw 0;
				margin-top: 4vw;
				transition: background-color .5s;
			}
			#load:hover{
				background-color: #d576ba;
				border-color: #d576ba;
			}
			.mask{
				transform: scale(0);
				width: 100%;
				height: 100%;
				position: fixed;
				top: 0;
				left: 0;
				z-index: 1;
				background-color: rgba(0,0,0, .7);
				overflow: auto;
				// transition: all .3s;
				.box{
					background-color: white;
					position: absolute;
				 	width: 80vw;
					left: calc(50% - 40vw);
					top: 5vw;
					.returnBox{
						position: absolute;
						top: 5vw;
						left: 4vw;
						i{
							font-size: 2vw;
							vertical-align: middle;
						}
						span{
							font-size: 1vw;
							font-weight: normal;
							font-stretch: normal;
							letter-spacing: 0vw;
							color: #000000;
							vertical-align: middle;
						}
						i:hover{
							cursor: pointer;
						}
						span:hover{
							cursor: pointer;
						}
					}
					.content{
						width: 42vw;
						margin: 0 auto;
						padding-top: 10vw;
						.userName{
							width: 14vw;
							display: flex;
							justify-content: space-between;
							.imgBox{
								width: 4vw;
								height: 4vw;
								overflow: hidden;
								img{
									width: 100%;
								}
							}
							span{
								font-size: 1vw;
								font-weight: normal;
								font-stretch: normal;
								letter-spacing: 0vw;
								color: #000000;
								line-height: 4vw;
							}
						}
						
						.imgBoxT{
							width: 42vw;
							height: 42vw;
							overflow: hidden;
							img{
								width: 100%;
							}
						}
						
						h2{
							font-size: 2vw;
							font-weight: normal;
							font-stretch: normal;
							letter-spacing: 0vw;
							color: #000000;
							padding-top: 2vw;
							margin-bottom: -1vw;
						}
						
						p{
							font-size: 1vw;
							font-weight: normal;
							font-stretch: normal;
							letter-spacing: 0vw;
							color: #404040;
							padding-top: 2vw;
							padding-bottom: 2vw;
							text-align: justify;
						}
						
						.imgBoxB{
							width: 42vw;
							height: 42vw;
							overflow: hidden;
							img{
								width: 100%;
							}
						}
						
						p:last-child{
							padding-bottom: 6vw;
						}
						
					}
				}
			}
		}
		.bottom{
			margin-top: 5vw;
			width: 100%;
			height: 50vw;
			background-image: url(../images/userbg.png);
			background-repeat: no-repeat;
			background-size: cover;
			
			// padding-top: 5vw;
			// .imgBox{
			// 	height: 40vw;
			// 	width: 100%;
			// 	img{
			// 		width: 100%;
			// 	}
			// }
		}
	}
}

@media screen and (max-width:767px) {
	.web{
		main{
			padding-top: 1vw;
			width: 100%;
			margin: 0 auto;
			.top{
				// width: 100%;
				h2{
					transform: scale(1.3);
					padding-top: 16vw;
				}
			}
			.center{
				#load{
					width: 30vw;
				}
				.mask{
					.box{
						.content{
							.userName{
								width: 36vw;
								justify-content: space-between;
								align-items: center;
								.imgBox{
									width: 5vw;
									height: 5vw;
									position: relative;
									padding-top: 2.5vw;
									
								}
								span{
									
								}
							}
						}
					}
				}
			}
			.bottom{
				// background-size: contain;
				width: 100%;
				height: 45.5vw
			}
		}
	}
}